package org.example.slave.fetch.mysql;

import lombok.RequiredArgsConstructor;
import org.example.slave.enums.SourceType;
import org.example.slave.fetch.AbstractFetcher;
import org.springframework.stereotype.Component;

/**
 * @author dingrui
 * @since 2022/2/14
 * @description
 */
@Component
@RequiredArgsConstructor
public class MysqlFetcher extends AbstractFetcher {

    @Override
    public SourceType strategyType() {
        return SourceType.MYSQL;
    }

    @Override
    protected void preFetch() {
    }

    @Override
    protected void doFetch() {
        try {
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    @Override
    protected void postFetch() {
    }
}
